<HTML>
<HEAD>
<TITLE>DefaultProjectName - ~CColor</TITLE>
<script type="text/javascript">
  var relPathToCommmon = "../../common/";
  var relPathToHelpDir = "../../common/help/";
</script>
<script type="text/javascript" src="../../common/jsdyn.js" language="JavaScript"></script>
<script type="text/javascript" src="../../common/js.js" language="JavaScript"></script>
<script type="text/javascript" src="leftmenu.js" language="JavaScript"></script>
<script type="text/javascript">
  var toSearchPage     = "_search','../../search";
  Body1();
</script>
<div class="headerPage">~CColor</div>
<div class="path"><a href="#" OnMouseOver="link('','../../index',this)" class="pathLink">OOXlib</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_dir','include0',this)" class="pathLink">include</A><img src="../../common/path-arrow.gif" class="path-arrow"><a href="#" OnMouseOver="link('_class','CColor4032',this)" class="pathLink">CColor</A><img src="../../common/path-arrow.gif" class="path-arrow"><span class="pathNonLink">~CColor</span></div>
<script type="text/javascript">
 Body2();
 BodyLeftMenuStart();
WriteLeftMenu("","","","");
 BodyLeftMenuEnd();
 Body3();
</script>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','ti_CColor2176358284','_description',this)" class="tabLinkInActive">Description</a></span>
<span class="tabActive"><a href="#" OnMouseOver="linkTab('_member','ti_CColor2176358284','_source',this)" class="tabLinkActive">Source</a></span>
<span class="tabInActive"><a href="#" OnMouseOver="linkTab('_member','ti_CColor2176358284','_callgraph',this)" class="tabLinkInActive">Call Graph</a></span>
<script type="text/javascript">
 Body4();
</script>
<div class="contentAirTop"></div>
<div class="paragraph2NoTopPadding">Start Line: 103</div>
<pre class="codeExamples">
 <a href="#" onMouseOver="link('_member','ti_CColor2176358284',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>~CColor&nbsp;&nbsp;()',CAPTION,'<strong>Brief description</strong><BR>Destructor.');" onMouseOut="return nd();">OOXlib::CColor::~CColor</a>()
                {
    // We need at least one pixel.
    int pixelCount = 1;
    unsigned long planes = 0;
    // Create array of pixels.
    unsigned long pixels[pixelCount + 1];
    // Become the color pixel into the array.
    pixels[0] = <a href="#" onMouseOver="link('_member','GetPixel1409192239',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>unsigned long&nbsp;&nbsp;GetPixel&nbsp;&nbsp;() const',CAPTION,'<strong>Brief description</strong><BR>Returns the color pixel value.');" onMouseOut="return nd();">GetPixel</a>();
    // And yes! Now we are able to free the color.
    // XFreeColors can generate BadAccess , BadColor , and BadValue errors.
    ::XFreeColors(<a href="#" onMouseOver="link('_member','m_pXServerConnection29210508',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>CXServerConnection *&nbsp;&nbsp;m_pXServerConnection ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_pXServerConnection</a>-&gt;Get(), <a href="#" onMouseOver="link('_member','m_Colormap29210508',this); overLibDiagram();return overlib('<strong>Syntax</strong><BR>::Colormap&nbsp;&nbsp;m_Colormap ',CAPTION,'<strong>Brief description</strong><BR>');" onMouseOut="return nd();">m_Colormap</a>, pixels, pixelCount, planes);
}
</pre><div class="contentAirBottom"></div>
<script type="text/javascript">
 Body5();
Statistics("","","","","");
 Body6();
SetPageTab('_member','_source');
</script>
